import tool from "./utils/tool";
import config from "@/config";
// import api from "./api";
import has from '@/directives/has'
export default {
	install(app) {
		//挂载全局对象
		app.provide('$CONFIG', config);
		app.provide('$TOOL', tool);

		//注册全局指令
		app.directive("has", has);
	},
};
